Navigation

    Welcome to the Pycom forum

    Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    1. Home
    2. Tags
    3. lopy lorawan
    Log in to post

    • M

      Clarity on duty cycle.
      LoPy • lopy lorawan • • mthethwansm  

      1
      0
      Votes
      1
      Posts
      43
      Views

      No one has replied

    • N

      Cellular hardware for wireless temperature sensors
      Discussion • lopy wipy lopy lorawan wireless • • noboz32  

      2
      0
      Votes
      2
      Posts
      304
      Views

      D

      @noboz32 I sent you a PM
    • P

      Controling TxPower in LoRaWAN mode
      Discussion • lopy lorawan • • PP  

      3
      0
      Votes
      3
      Posts
      709
      Views

      P

      @bmarkus Thank you,I was thinking about it but was not sure.
    • B

      LoPy Cannot Change DR or SF in LoRaWAN mode (always SF10, dr 0, bw 125kHz)
      LoPy • lopy lorawan data rate adr spreading facto • • brady.aiello  

      4
      0
      Votes
      4
      Posts
      663
      Views

      B

      @jcaron The Rising HF RHF301, on the frequencies described here: https://account.thethingsnetwork.org/api/v2/frequency-plans/US_902_928 So, it looks like that's 903900000 904100000 904300000 904500000 904700000 904900000 905100000 905300000 all on 125 kHz bw.
    • H

      Has anyone successfully used lora.nvram_save() and restore?
      LoPy • lopy lopy4 lopy lorawan lorawan otaa lopy lora • • Harish kumar  

      3
      0
      Votes
      3
      Posts
      663
      Views

      H

      @jcaron oh thank you. I will do that. And I need a small help from you. In this code, I am trying to start my downlink once in a day. So I am using this code. import time a = time.localtime() hour = a.tm_hour minutes = a.tm_min if hour == 10 and minutes == 40: print('{0}:{1}'.format(hour, minutes)) But it's not working properly. Do I have to change some conditions ?
    • H

      How to get data from a particular device in lopy ?
      LoPy • lora lopy4 lopy lorawan lorawan abp coding • • Harish kumar  

      3
      0
      Votes
      3
      Posts
      897
      Views

      H

      @robert-hh Sorry for the late and Thanks for your reply. I have tried with simple change like adding if statement with particular device address but it's not working. Is there any other possible way ?
    • H

      Lorawan ABP Frame counts
      LoPy • lopy4 lopy lorawan lorawan otaa lopy lora lorawan abp • • Harish kumar  

      6
      0
      Votes
      6
      Posts
      1254
      Views

      J

      @harish-kumar Well, you're not sleeping, so you shouldn't need to nvram_save/restore, but you're re-creating the LoRa object (twice!) in your loop, using two different modes (raw LoRa and LoRaWAN), and re-joining each time, so no wonder your frame counters get re-initialised. I'm really not sure you can use the current LoRa stack like this to achieve what you want. I'm quite certain it would require some extensive changes to the stack, especially if you really want to maintain true LoRaWAN compatibility (i.e. including ADR, MAC commands, etc.).
    • H

      lorawan nano Gateway Program
      LoPy • lopy4 lopy lorawan lopy lora lorawan nano gw tutorial • • Harish kumar  

      3
      0
      Votes
      3
      Posts
      546
      Views

      H

      @robert-hh Thanks for your reply. Yeah exactly I am talking about repeater. Just let me know once they develop this part. Till then I will try to do by myself.
    • H

      To send data to cloud via lorawan instead of using wifi.
      LoPy • lopy lorawan lopy wifi lopy nanogatewa • • Harish kumar  

      2
      0
      Votes
      2
      Posts
      587
      Views

      bmarkus

      @harish-kumar said in To send data to cloud via lorawan instead of using wifi.: Hello everyone, I am using Lopy, I am new to this. I need to send some data to cloud via Lorawan instead of using wifi. Is it possible ? If it is , can anyone say me the procedures ? First check whether LoRaWAN is good for your application, it depends on the volume of data you are transmitting, what is the latency your application can accept, etc. Provide details. If it fits to your use case from networking view we can discuss how to implement.
    • bmarkus

      LoRaWAN FCnt size 16 or 32 bit?
      LoPy • lopy lorawan • • bmarkus  

      8
      0
      Votes
      8
      Posts
      1590
      Views

      bmarkus

      @bed said in LoRaWAN FCnt size 16 or 32 bit?: @bmarkus The PyCom LoraWAN stack uses 32 bits for the uplink and downlink frame counters, even though only the bottom 16 bits are transmitted / received. Thanks!
    • D

      LoPy: socket send command
      LoPy • pytrack socket lopy lorawan lorawan otaa send data • • DDA  

      19
      0
      Votes
      19
      Posts
      3983
      Views

      D

      @jcaron Thanks a lot , limiting the channels to 0-8 and 64 ( for join/accept) did the trick for now.
    • R

      Connect to Other Gateway
      LoPy • lopy4 lorawan ttn lopy lorawan ttn lopy • • raaden89  

      11
      0
      Votes
      11
      Posts
      2093
      Views

      R

      @jmarcelino OK, i contact the owner of the gateway to see if it's possible to connect to that gateway. Thanks for all informations! we can close the post ;)
    • B

      [SOLVED] LoPy connection to US TTN
      LoPy • lopy lorawan lopy lorawan ttn gateway lorawan nano gw • • Burgeh  

      3
      0
      Votes
      3
      Posts
      1136
      Views

      B

      @jmarcelino Thank you that appears to be correct! I get my push and pull acks now.
    • L

      lora.nvram example needed
      LoPy • deepsleep lopy lorawan nvram lopy nvram • • luc hanneuse  

      8
      0
      Votes
      8
      Posts
      2449
      Views

      G

      I know this is an old post but for me this is still an issue. Any may of learning more about the specifics would be very much appreciated e.g what does pycom.nvs_get(key) return? Should I see somthing in the REPL? Example: >>> lora.nvram_save() >>> l= pycom.nvs_get('lora') >>> print(l) None Am I going about this in completely the wrong way?
    • A

      Lopy LoRa socket timeout
      LoPy • lopy socket lopy lorawan timeout • • AHellLycan  

      3
      0
      Votes
      3
      Posts
      1252
      Views

      A

      @livius Thank you so much!!! that's exactly what I needed
    • L

      LOPY on a lorawan public network,
      LoPy • lopy lorawan spreading facto join issues • • lj  

      12
      0
      Votes
      12
      Posts
      2327
      Views

      L

      Hello bruno, this is what I did, instead of using the exemple code, I can set and catch the timeout error hence loop while not joint. while lora.has_joined() is not True: try: lora.join(activation=LoRa.OTAA, auth=(dev_eui, app_eui, app_key), timeout=20000, dr=0) except Exception as e: print('Not joined yet...')
    • A

      LoPy LoraWan "Not joined yet.." Issue
      LoPy • lopy lora lorawan lopy lorawan lorawan otaa • • az311  

      5
      0
      Votes
      5
      Posts
      1712
      Views

      jmarcelino

      @az311 OK thanks, that Payload Data is definitely from one of our examples (the ASCII codes spell "PKT # ..." ) so your node did join and is sending the data correctly. It's not a problem to see some "Not joined yet..." messages at the beginning - that's how it works - but they should stop once it joined. If you want to see what's happening you can add a message print("Connected!") on line 42 and then and a print("Sent") on 56
    • 1

      Import new lib file to LoPy
      LoPy • lopy lorawan lopy-wlan • • 150716T  

      2
      0
      Votes
      2
      Posts
      977
      Views

      livius

      @150716t simpy connect to it by ftp and put file look here https://docs.pycom.io/chapter/toolsandfeatures/FTP.html
    • N

      Receiving Payload string from the gateway to the LoPy
      LoPy • gateway lopy lorawan lopy connection lopy lora 868 • • neilh93  

      8
      0
      Votes
      8
      Posts
      2566
      Views

      jmarcelino

      @neilh93 Great. Yes I use a similar thing for my commercial product. But remember that nodes may miss (due to RF issues, power) the "key change" message and still use the old one. What I did was to clone the existing device on the server backend but with the new keys. Then when a transmission arrives on the new device (which means the node has updated the keys) the old device is deleted. If the next transmission still arrives on the old device it means the node has not picked it up so a new key change message is scheduled for retransmission - this is repeated until it's finally picked up.
    • 1
    • 2
    • 1 / 2